﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using TransportManager.UI.Pages;
using Microsoft.ApplicationBlocks.Data;
using Site.Components;
namespace Site.Report
{
    public partial class productinoutdetail : BasePage
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {

            }
        }

        protected void btnSearch_Click(object sender, EventArgs e)
        {
            BindData();
        }

        void BindData()
        {
            var ds= SqlHelper.ExecuteDataset(Session["Conn"].ToString(), "Proc_ProductInOutDetail",
                (object)(SearchTime1.StartTime.AsDateTime()),(object)SearchTime1.EndTime.AsDateTime());
            gv.DataSource = ds;
            gv.DataBind();
        }

        protected void btnExport_Click(object sender, EventArgs e)
        {

        }
    }
}